
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>行动任务 ActionTask · behavior-dog</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Zemin Liu">
        
        
    
    <link rel="stylesheet" href="../../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-flexible-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="actiontask.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../../">
            
                <a href="../../../">
            
                    
                    CocosCreator 行为树•状态机编辑器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="../../intro/">
            
                <a href="../../intro/">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="../../preparation/">
            
                <a href="../../preparation/">
            
                    
                    准备工作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.2.1" data-path="../../preparation/cocosversion.html">
            
                <a href="../../preparation/cocosversion.html">
            
                    
                    CocosCreator 版本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2.2" data-path="../../preparation/globalextension.html">
            
                <a href="../../preparation/globalextension.html">
            
                    
                    全局插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="../../tempscene/">
            
                <a href="../../tempscene/">
            
                    
                    * 临时场景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/">
            
                    
                    快速入门：从零开始搭建一个行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#创建行为树">
            
                    
                    创建行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#编辑行为树">
            
                    
                    编辑行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#打开编辑器">
            
                    
                    打开编辑器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#打开行为树">
            
                    
                    打开行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第一个任务">
            
                    
                    第一个任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第二个任务：捕获按钮的点击事件">
            
                    
                    第二个任务：捕获按钮的点击事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第三个任务：旋转任务">
            
                    
                    第三个任务：旋转任务
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.5.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#注册任务">
            
                    
                    注册任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#添加属性">
            
                    
                    添加属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#添加方法">
            
                    
                    添加方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.2.5.3.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.3.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#真・添加方法">
            
                    
                    真・添加方法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完整任务脚本">
            
                    
                    完整任务脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.2.5.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#解决错误">
            
                    
                    解决错误
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#预览">
            
                    
                    预览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.3.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第一次预览">
            
                    
                    第一次预览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.3.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#第二次预览">
            
                    
                    第二次预览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.3.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#运行时调试">
            
                    
                    运行时调试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#继续编辑行为树">
            
                    
                    继续编辑行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.4.1" data-path="../../quickstart/">
            
                <a href="../../quickstart/#创建共享变量">
            
                    
                    创建共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.2" data-path="../../quickstart/">
            
                <a href="../../quickstart/#改造旋转任务">
            
                    
                    改造旋转任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.3" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完善行为树">
            
                    
                    完善行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4.4.4" data-path="../../quickstart/">
            
                <a href="../../quickstart/#完善属性设置，解决错误">
            
                    
                    完善属性设置，解决错误
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4.5" data-path="../../quickstart/">
            
                <a href="../../quickstart/#终极预览">
            
                    
                    终极预览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.5" data-path="../../ui/">
            
                <a href="../../ui/">
            
                    
                    工具栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6" data-path="../../behaviortree/">
            
                <a href="../../behaviortree/">
            
                    
                    行为树组件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1.1" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#创建行为树">
            
                    
                    创建行为树
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1.1.1" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#属性检查器中创建">
            
                    
                    属性检查器中创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.1.2" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#脚本中动态创建">
            
                    
                    脚本中动态创建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.2" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#销毁行为树">
            
                    
                    销毁行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.3" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#属性检查器">
            
                    
                    属性检查器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.1.4" data-path="../../behaviortree/overview.html">
            
                <a href="../../behaviortree/overview.html#其他">
            
                    
                    其他
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.2" data-path="../../behaviortree/custom/">
            
                <a href="../../behaviortree/custom/">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.1" data-path="../../behaviortree/custom/btclass.html">
            
                <a href="../../behaviortree/custom/btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.2" data-path="../../behaviortree/custom/btprop.html">
            
                <a href="../../behaviortree/custom/btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html">
            
                    
                    行为树组件 BehaviorTree
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.1" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#日志">
            
                    
                    日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.2" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#当前状态">
            
                    
                    当前状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.3" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#控制">
            
                    
                    控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.4" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#任务节点">
            
                    
                    任务节点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.5" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#数据共享">
            
                    
                    数据共享
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.6" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.7" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#cocoscreator-专有-api">
            
                    
                    CocosCreator 专有 API
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.8.1" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#资源文件">
            
                    
                    资源文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8.2" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#cocoscreator2d">
            
                    
                    CocosCreator2D
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.2.3.8.2.1" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#ui-事件">
            
                    
                    UI 事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2.3.8.2.2" data-path="../../behaviortree/custom/component.html">
            
                <a href="../../behaviortree/custom/component.html#碰撞检测">
            
                    
                    碰撞检测
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6.3" data-path="../../behaviortree/reference.html">
            
                <a href="../../behaviortree/reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7" data-path="../">
            
                <a href="../">
            
                    
                    行为树任务
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.1" data-path="../overview.html">
            
                <a href="../overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.1.1" data-path="../overview.html">
            
                <a href="../overview.html#创建任务">
            
                    
                    创建任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.2" data-path="../overview.html">
            
                <a href="../overview.html#删除任务">
            
                    
                    删除任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.3" data-path="../overview.html">
            
                <a href="../overview.html#连接任务">
            
                    
                    连接任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.4" data-path="../overview.html">
            
                <a href="../overview.html#断开任务">
            
                    
                    断开任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.1.5" data-path="../overview.html">
            
                <a href="../overview.html#属性检查器">
            
                    
                    属性检查器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2" data-path="../custom/">
            
                <a href="../custom/">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.1" data-path="../custom/btclass.html">
            
                <a href="../custom/btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.2" data-path="../custom/btprop.html">
            
                <a href="../custom/btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3" data-path="../custom/task.html">
            
                <a href="../custom/task.html">
            
                    
                    任务基类 Task
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.1" data-path="../custom/task.html">
            
                <a href="../custom/task.html#日志">
            
                    
                    日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.2" data-path="../custom/task.html">
            
                <a href="../custom/task.html#行为树">
            
                    
                    行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.3" data-path="../custom/task.html">
            
                <a href="../custom/task.html#根任务">
            
                    
                    根任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.4" data-path="../custom/task.html">
            
                <a href="../custom/task.html#父任务">
            
                    
                    父任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.5" data-path="../custom/task.html">
            
                <a href="../custom/task.html#权值">
            
                    
                    权值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.6" data-path="../custom/task.html">
            
                <a href="../custom/task.html#状态">
            
                    
                    状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.7" data-path="../custom/task.html">
            
                <a href="../custom/task.html#数据共享">
            
                    
                    数据共享
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.8" data-path="../custom/task.html">
            
                <a href="../custom/task.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.8.1" data-path="../custom/task.html">
            
                <a href="../custom/task.html#响应事件">
            
                    
                    响应事件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.9" data-path="../custom/task.html">
            
                <a href="../custom/task.html#手动执行">
            
                    
                    手动执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.10" data-path="../custom/task.html">
            
                <a href="../custom/task.html#生命周期">
            
                    
                    生命周期
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.3.10.1" data-path="../custom/task.html">
            
                <a href="../custom/task.html#behaviortree-的生命周期">
            
                    
                    BehaviorTree 的生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.3.10.2" data-path="../custom/task.html">
            
                <a href="../custom/task.html#task-的生命周期">
            
                    
                    Task 的生命周期
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.4" data-path="../custom/branchtask.html">
            
                <a href="../custom/branchtask.html">
            
                    
                    分支任务 BranchTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.2.4.1" data-path="../custom/branchtask.html">
            
                <a href="../custom/branchtask.html#子任务">
            
                    
                    子任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.4.2" data-path="../custom/branchtask.html">
            
                <a href="../custom/branchtask.html#事件系统">
            
                    
                    事件系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.5" data-path="../custom/leaftask.html">
            
                <a href="../custom/leaftask.html">
            
                    
                    叶子任务 LeafTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.6" data-path="../custom/actiontask.html">
            
                <a href="../custom/actiontask.html">
            
                    
                    行动任务 ActionTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.7" data-path="../custom/conditiontask.html">
            
                <a href="../custom/conditiontask.html">
            
                    
                    条件任务 ConditionTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.8" data-path="../custom/compositetask.html">
            
                <a href="../custom/compositetask.html">
            
                    
                    组合任务 CompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.9" data-path="../custom/decoratortask.html">
            
                <a href="../custom/decoratortask.html">
            
                    
                    装饰任务 DecoratorTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.2.10" data-path="../custom/interceptertask.html">
            
                <a href="../custom/interceptertask.html">
            
                    
                    拦截任务 IntercepterTask
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.3" data-path="../abort.html">
            
                <a href="../abort.html">
            
                    
                    打断机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.3.1" data-path="../abort.html">
            
                <a href="../abort.html#拦截任务">
            
                    
                    拦截任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2" data-path="../abort.html">
            
                <a href="../abort.html#条件中断">
            
                    
                    条件中断
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.3.2.1" data-path="../abort.html">
            
                <a href="../abort.html#self">
            
                    
                    SELF
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2.2" data-path="../abort.html">
            
                <a href="../abort.html#lowerpriority">
            
                    
                    LOWER_PRIORITY
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.2.3" data-path="../abort.html">
            
                <a href="../abort.html#both">
            
                    
                    BOTH
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.3.3" data-path="../abort.html">
            
                <a href="../abort.html#重新评估分支">
            
                    
                    重新评估分支
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.4" data-path="../reference.html">
            
                <a href="../reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.5" data-path="../asset.html">
            
                <a href="../asset.html">
            
                    
                    加载资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6" data-path="./">
            
                <a href="./">
            
                    
                    内置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.1.7.6.1" data-path="actiontask.html">
            
                <a href="actiontask.html">
            
                    
                    行动任务 ActionTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.1" data-path="actiontask.html">
            
                <a href="actiontask.html#category-action">
            
                    
                    Action
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.1.1" data-path="actiontask.html">
            
                <a href="actiontask.html#idle">
            
                    
                    Idle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.1.2" data-path="actiontask.html">
            
                <a href="actiontask.html#wait">
            
                    
                    Wait
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.1.3" data-path="actiontask.html">
            
                <a href="actiontask.html#waitframes">
            
                    
                    WaitFrames
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionbehavior">
            
                    
                    Action/Behavior
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.2.1" data-path="actiontask.html">
            
                <a href="actiontask.html#setenabledbehavior">
            
                    
                    SetEnabledBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.2" data-path="actiontask.html">
            
                <a href="actiontask.html#setpausedbehavior">
            
                    
                    SetPausedBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.3" data-path="actiontask.html">
            
                <a href="actiontask.html#restartbehavior">
            
                    
                    RestartBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.4" data-path="actiontask.html">
            
                <a href="actiontask.html#terminatebehavior">
            
                    
                    TerminateBehavior
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.2.5" data-path="actiontask.html">
            
                <a href="actiontask.html#tickbehavior">
            
                    
                    TickBehavior
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionscene">
            
                    
                    Action/Scene
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.3.1" data-path="actiontask.html">
            
                <a href="actiontask.html#loadscene">
            
                    
                    LoadScene
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3.2" data-path="actiontask.html">
            
                <a href="actiontask.html#setactive">
            
                    
                    SetActive
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.3.3" data-path="actiontask.html">
            
                <a href="actiontask.html#setenabled">
            
                    
                    SetEnabled
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.4" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actiongame">
            
                    
                    Action/Game
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.4.1" data-path="actiontask.html">
            
                <a href="actiontask.html#pausegame">
            
                    
                    PauseGame
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.4.2" data-path="actiontask.html">
            
                <a href="actiontask.html#resumegame">
            
                    
                    ResumeGame
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.5" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actioncollision">
            
                    
                    Action/Collision
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.5.1" data-path="actiontask.html">
            
                <a href="actiontask.html#setenabledcollider">
            
                    
                    SetEnabledCollider
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.6" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actiontrigger">
            
                    
                    Action/Trigger
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.6.1" data-path="actiontask.html">
            
                <a href="actiontask.html#ctrlgate">
            
                    
                    CtrlGate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.6.2" data-path="actiontask.html">
            
                <a href="actiontask.html#requestinterrupt">
            
                    
                    RequestInterrupt
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionevent">
            
                    
                    Action/Event
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.7.1" data-path="actiontask.html">
            
                <a href="actiontask.html#fireevent">
            
                    
                    FireEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.2" data-path="actiontask.html">
            
                <a href="actiontask.html#fireevents">
            
                    
                    FireEvents
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.3" data-path="actiontask.html">
            
                <a href="actiontask.html#emitevent">
            
                    
                    EmitEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.4" data-path="actiontask.html">
            
                <a href="actiontask.html#broadcastevent">
            
                    
                    BroadcastEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.5" data-path="actiontask.html">
            
                <a href="actiontask.html#broadcasteventex">
            
                    
                    BroadcastEventEx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.7.6" data-path="actiontask.html">
            
                <a href="actiontask.html#waitforevent">
            
                    
                    WaitForEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionoperator">
            
                    
                    Action/Operator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.8.1" data-path="actiontask.html">
            
                <a href="actiontask.html#setnum">
            
                    
                    SetNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8.2" data-path="actiontask.html">
            
                <a href="actiontask.html#setbool">
            
                    
                    SetBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.8.3" data-path="actiontask.html">
            
                <a href="actiontask.html#setstr">
            
                    
                    SetStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.9" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionmath">
            
                    
                    Action/Math
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.9.1" data-path="actiontask.html">
            
                <a href="actiontask.html#genrandom">
            
                    
                    GenRandom
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10" data-path="actiontask.html">
            
                <a href="actiontask.html#category-actionblackboard">
            
                    
                    Action/Blackboard
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.1.10.1" data-path="actiontask.html">
            
                <a href="actiontask.html#bbdelkey">
            
                    
                    BbDelKey
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.2" data-path="actiontask.html">
            
                <a href="actiontask.html#bbclear">
            
                    
                    BbClear
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.3" data-path="actiontask.html">
            
                <a href="actiontask.html#bbwrite">
            
                    
                    BbWrite
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.1.10.4" data-path="actiontask.html">
            
                <a href="actiontask.html#bbread">
            
                    
                    BbRead
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html">
            
                    
                    条件任务 ConditionTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionbehavior">
            
                    
                    Condition/Behavior
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.1.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#isbehaviorrunning">
            
                    
                    IsBehaviorRunning
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionevent">
            
                    
                    Condition/Event
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.2.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#onevent">
            
                    
                    OnEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.3" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionsystem">
            
                    
                    Condition/System
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.3.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#iskeydown">
            
                    
                    IsKeyDown
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionui">
            
                    
                    Condition/UI
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.4.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#onccevent">
            
                    
                    OnCCEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html#onclick">
            
                    
                    OnClick
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.3" data-path="conditiontask.html">
            
                <a href="conditiontask.html#ontoggle">
            
                    
                    OnToggle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.4" data-path="conditiontask.html">
            
                <a href="conditiontask.html#oncheck">
            
                    
                    OnCheck
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.5" data-path="conditiontask.html">
            
                <a href="conditiontask.html#onuncheck">
            
                    
                    OnUnCheck
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.4.6" data-path="conditiontask.html">
            
                <a href="conditiontask.html#ischecked">
            
                    
                    IsChecked
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditioncollision">
            
                    
                    Condition/Collision
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.5.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#oncollisionenter">
            
                    
                    OnCollisionEnter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html#oncollisionstay">
            
                    
                    OnCollisionStay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.5.3" data-path="conditiontask.html">
            
                <a href="conditiontask.html#oncollisionexit">
            
                    
                    OnCollisionExit
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionoperator">
            
                    
                    Condition/Operator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.6.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#cmpnum">
            
                    
                    CmpNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html#cmpbool">
            
                    
                    CmpBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.6.3" data-path="conditiontask.html">
            
                <a href="conditiontask.html#cmpstr">
            
                    
                    CmpStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7" data-path="conditiontask.html">
            
                <a href="conditiontask.html#category-conditionblackboard">
            
                    
                    Condition/Blackboard
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.2.7.1" data-path="conditiontask.html">
            
                <a href="conditiontask.html#bbhaskey">
            
                    
                    BbHasKey
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.2" data-path="conditiontask.html">
            
                <a href="conditiontask.html#bbcmpnum">
            
                    
                    BbCmpNum
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.3" data-path="conditiontask.html">
            
                <a href="conditiontask.html#bbcmpbool">
            
                    
                    BbCmpBool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.2.7.4" data-path="conditiontask.html">
            
                <a href="conditiontask.html#bbcmpstr">
            
                    
                    BbCmpStr
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3" data-path="compositetask.html">
            
                <a href="compositetask.html">
            
                    
                    组合任务 CompositeTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.3.1" data-path="compositetask.html">
            
                <a href="compositetask.html#category-composite">
            
                    
                    Composite
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.3.1.1" data-path="compositetask.html">
            
                <a href="compositetask.html#sequence">
            
                    
                    Sequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.2" data-path="compositetask.html">
            
                <a href="compositetask.html#sequenceticker">
            
                    
                    SequenceTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.3" data-path="compositetask.html">
            
                <a href="compositetask.html#selector">
            
                    
                    Selector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.4" data-path="compositetask.html">
            
                <a href="compositetask.html#revalcompositetask">
            
                    
                    RevalCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.5" data-path="compositetask.html">
            
                <a href="compositetask.html#revalsequence">
            
                    
                    RevalSequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.6" data-path="compositetask.html">
            
                <a href="compositetask.html#revalselector">
            
                    
                    RevalSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.7" data-path="compositetask.html">
            
                <a href="compositetask.html#randomcompositetask">
            
                    
                    RandomCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.8" data-path="compositetask.html">
            
                <a href="compositetask.html#randomsequence">
            
                    
                    RandomSequence
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.9" data-path="compositetask.html">
            
                <a href="compositetask.html#randomselector">
            
                    
                    RandomSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.10" data-path="compositetask.html">
            
                <a href="compositetask.html#randomticker">
            
                    
                    RandomTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.11" data-path="compositetask.html">
            
                <a href="compositetask.html#prioritycompositetask">
            
                    
                    PriorityCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.12" data-path="compositetask.html">
            
                <a href="compositetask.html#priorityticker">
            
                    
                    PriorityTicker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.13" data-path="compositetask.html">
            
                <a href="compositetask.html#parallelcompositetask">
            
                    
                    ParallelCompositeTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.14" data-path="compositetask.html">
            
                <a href="compositetask.html#parallel">
            
                    
                    Parallel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.15" data-path="compositetask.html">
            
                <a href="compositetask.html#parallelselector">
            
                    
                    ParallelSelector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.3.1.16" data-path="compositetask.html">
            
                <a href="compositetask.html#parallelcomplete">
            
                    
                    ParallelComplete
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4" data-path="decoratortask.html">
            
                <a href="decoratortask.html">
            
                    
                    装饰任务 DecoratorTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.4.1" data-path="decoratortask.html">
            
                <a href="decoratortask.html#category-decorator">
            
                    
                    Decorator
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.4.1.1" data-path="decoratortask.html">
            
                <a href="decoratortask.html#alwayssuccess">
            
                    
                    AlwaysSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.2" data-path="decoratortask.html">
            
                <a href="decoratortask.html#alwaysfailure">
            
                    
                    AlwaysFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.3" data-path="decoratortask.html">
            
                <a href="decoratortask.html#alwaysrunning">
            
                    
                    AlwaysRunning
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.4" data-path="decoratortask.html">
            
                <a href="decoratortask.html#untilsuccess">
            
                    
                    UntilSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.5" data-path="decoratortask.html">
            
                <a href="decoratortask.html#untilfailure">
            
                    
                    UntilFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.6" data-path="decoratortask.html">
            
                <a href="decoratortask.html#failureuntilsuccess">
            
                    
                    FailureUntilSuccess
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.7" data-path="decoratortask.html">
            
                <a href="decoratortask.html#successuntilfailure">
            
                    
                    SuccessUntilFailure
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.8" data-path="decoratortask.html">
            
                <a href="decoratortask.html#inverter">
            
                    
                    Inverter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.9" data-path="decoratortask.html">
            
                <a href="decoratortask.html#repeater">
            
                    
                    Repeater
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.10" data-path="decoratortask.html">
            
                <a href="decoratortask.html#framerepeater">
            
                    
                    FrameRepeater
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.11" data-path="decoratortask.html">
            
                <a href="decoratortask.html#period">
            
                    
                    Period
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.4.1.12" data-path="decoratortask.html">
            
                <a href="decoratortask.html#withinframes">
            
                    
                    WithinFrames
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5" data-path="interceptertask.html">
            
                <a href="interceptertask.html">
            
                    
                    拦截任务 IntercepterTask
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.5.1" data-path="interceptertask.html">
            
                <a href="interceptertask.html#category-intercepter">
            
                    
                    Intercepter
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.6.5.1.1" data-path="interceptertask.html">
            
                <a href="interceptertask.html#precondition">
            
                    
                    PreCondition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.2" data-path="interceptertask.html">
            
                <a href="interceptertask.html#preconditions">
            
                    
                    PreConditions
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.3" data-path="interceptertask.html">
            
                <a href="interceptertask.html#delay">
            
                    
                    Delay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.4" data-path="interceptertask.html">
            
                <a href="interceptertask.html#cooldown">
            
                    
                    Cooldown
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.5" data-path="interceptertask.html">
            
                <a href="interceptertask.html#afterframes">
            
                    
                    AfterFrames
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.6" data-path="interceptertask.html">
            
                <a href="interceptertask.html#gate">
            
                    
                    Gate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.7.6.5.1.7" data-path="interceptertask.html">
            
                <a href="interceptertask.html#interrupt">
            
                    
                    Interrupt
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8" data-path="../../sharedvariable/">
            
                <a href="../../sharedvariable/">
            
                    
                    共享变量
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.1" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html">
            
                    
                    概览
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.1.1" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#作用域">
            
                    
                    作用域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.2" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#创建共享变量">
            
                    
                    创建共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.3" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#删除共享变量">
            
                    
                    删除共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.1.4" data-path="../../sharedvariable/overview.html">
            
                <a href="../../sharedvariable/overview.html#共享变量检查器">
            
                    
                    共享变量检查器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8.2" data-path="../../sharedvariable/custom/">
            
                <a href="../../sharedvariable/custom/">
            
                    
                    自定义
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.2.1" data-path="../../sharedvariable/custom/btclass.html">
            
                <a href="../../sharedvariable/custom/btclass.html">
            
                    
                    类装饰器 btclass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.2.2" data-path="../../sharedvariable/custom/btprop.html">
            
                <a href="../../sharedvariable/custom/btprop.html">
            
                    
                    属性装饰器 btprop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.2.3" data-path="../../sharedvariable/custom/sharedvariable.html">
            
                <a href="../../sharedvariable/custom/sharedvariable.html">
            
                    
                    共享变量 SharedVariable
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8.3" data-path="../../sharedvariable/reference.html">
            
                <a href="../../sharedvariable/reference.html">
            
                    
                    引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html">
            
                    
                    内置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.4.1" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedstring">
            
                    
                    SharedString
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.2" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedstringlist">
            
                    
                    SharedStringList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.3" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedboolean">
            
                    
                    SharedBoolean
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.4" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedbooleanlist">
            
                    
                    SharedBooleanList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.5" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharednumber">
            
                    
                    SharedNumber
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.6" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharednumberlist">
            
                    
                    SharedNumberList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.7" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccnode">
            
                    
                    SharedCCNode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.8" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccnodelist">
            
                    
                    SharedCCNodeList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.9" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccomponent">
            
                    
                    SharedCCComponent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.10" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccomponentlist">
            
                    
                    SharedCCComponentList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.11" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec2">
            
                    
                    SharedCCVec2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.12" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec2list">
            
                    
                    SharedCCVec2List
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.13" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec3">
            
                    
                    SharedCCVec3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.14" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccvec3list">
            
                    
                    SharedCCVec3List
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.15" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolor">
            
                    
                    SharedCCColor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.16" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolorlist">
            
                    
                    SharedCCColorList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.17" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccollider">
            
                    
                    SharedCCCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.18" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedcccolliderlist">
            
                    
                    SharedCCColliderList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4.19" data-path="../../sharedvariable/builtin/sharedvariable.html">
            
                <a href="../../sharedvariable/builtin/sharedvariable.html#sharedccevent">
            
                    
                    SharedCCEvent
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.9" data-path="../../common/blackboard.html">
            
                <a href="../../common/blackboard.html">
            
                    
                    黑板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.10" data-path="../../subtree/">
            
                <a href="../../subtree/">
            
                    
                    子树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11" data-path="../../statemachine/">
            
                <a href="../../statemachine/">
            
                    
                    状态机
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.11.1" data-path="../../statemachine/">
            
                <a href="../../statemachine/#创建状态机">
            
                    
                    创建状态机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.2" data-path="../../statemachine/">
            
                <a href="../../statemachine/#状态的执行（action）">
            
                    
                    状态的执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.3" data-path="../../statemachine/">
            
                <a href="../../statemachine/#状态的转换（transition）">
            
                    
                    状态的转换
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.11.3.1" data-path="../../statemachine/">
            
                <a href="../../statemachine/#转换测试的执行时机">
            
                    
                    转换测试的执行时机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.3.2" data-path="../../statemachine/">
            
                <a href="../../statemachine/#无条件转换">
            
                    
                    无条件转换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.11.4" data-path="../../statemachine/">
            
                <a href="../../statemachine/#无限循环">
            
                    
                    无限循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.11.5" data-path="../../statemachine/">
            
                <a href="../../statemachine/#预览">
            
                    
                    预览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.12" data-path="../../debug/">
            
                <a href="../../debug/">
            
                    
                    调试
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.12.1" data-path="../../debug/error/">
            
                <a href="../../debug/error/">
            
                    
                    错误反馈
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.12.1.1" data-path="../../debug/error/behaviortree.html">
            
                <a href="../../debug/error/behaviortree.html">
            
                    
                    行为树组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.2" data-path="../../debug/error/task.html">
            
                <a href="../../debug/error/task.html">
            
                    
                    行为树任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.3" data-path="../../debug/error/sharedvariable.html">
            
                <a href="../../debug/error/sharedvariable.html">
            
                    
                    共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.12.1.4" data-path="../../debug/error/circularreference.html">
            
                <a href="../../debug/error/circularreference.html">
            
                    
                    循环引用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.12.2" data-path="../../debug/preview.html">
            
                <a href="../../debug/preview.html">
            
                    
                    预览模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.13" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/">
            
                    
                    时间胶囊
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.13.1" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#场景列表">
            
                    
                    场景列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.2" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#行为树列表">
            
                    
                    行为树列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#时间胶囊列表">
            
                    
                    时间胶囊列表
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.13.3.1" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#行为树资源">
            
                    
                    行为树资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.2" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#保存时间戳">
            
                    
                    保存时间戳
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.3" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#还原时间戳">
            
                    
                    还原时间戳
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.4" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#删除时间胶囊">
            
                    
                    删除时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.5" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#复制、移动时间胶囊">
            
                    
                    复制、移动时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.6" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#重命名时间胶囊">
            
                    
                    重命名时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.7" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导出时间胶囊">
            
                    
                    导出时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.8" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导入时间胶囊">
            
                    
                    导入时间胶囊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.9" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#复制行为树">
            
                    
                    复制行为树
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.13.3.10" data-path="../../timecapsule/">
            
                <a href="../../timecapsule/#导出行为树">
            
                    
                    导出行为树
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../.." >行动任务 ActionTask</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="actiontask">ActionTask</h1>
<hr>
<h2 id="category-action">Category: Action</h2>
<h3 id="idle">Idle</h3>
<p>&#x4E00;&#x76F4;&#x8FD0;&#x884C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">// nothing</span>
</code></pre>
<h3 id="wait">Wait</h3>
<p>&#x7B49;&#x5F85;&#x4E00;&#x6BB5;&#x65F6;&#x95F4;&#x3002;</p>
<ul>
<li><code>0</code> &#x8868;&#x793A;&#x4E0D;&#x7B49;&#x5F85;&#xFF0C;&#x76F4;&#x63A5;&#x8FD4;&#x56DE;&#x5931;&#x8D25;&#x3002;</li>
<li>&#x8D1F;&#x6570;&#x548C; <code>Infinity</code> &#x90FD;&#x53EF;&#x8868;&#x793A;&#x65E0;&#x9650;&#x7B49;&#x5F85;&#x3002;</li>
</ul>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x7B49;&#x5F85;&#x65F6;&#x95F4;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> waitTime: SharedNumber;

<span class="hljs-comment">/**
 * &#x5F53;&#x5171;&#x4EAB;&#x53D8;&#x91CF; waitTime &#x4E3A;&#x7A7A;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; waitTimeDft &#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; -1 &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> waitTimeDft: <span class="hljs-built_in">number</span>;
</code></pre>
<h3 id="waitframes">WaitFrames</h3>
<p>&#x7B49;&#x5F85;&#x5E27;&#x6570;&#x3002;</p>
<ul>
<li><code>0</code> &#x8868;&#x793A;&#x4E0D;&#x7B49;&#x5F85;&#xFF0C;&#x76F4;&#x63A5;&#x8FD4;&#x56DE;&#x5931;&#x8D25;&#x3002;</li>
<li>&#x8D1F;&#x6570;&#x548C; <code>Infinity</code> &#x90FD;&#x53EF;&#x8868;&#x793A;&#x65E0;&#x9650;&#x7B49;&#x5F85;&#x3002;</li>
</ul>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x7B49;&#x5F85;&#x5E27;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> frames: SharedNumber;

<span class="hljs-comment">/**
 * &#x5F53;&#x5171;&#x4EAB;&#x53D8;&#x91CF; frames &#x4E3A;&#x7A7A;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; framesDft &#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; -1 &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> framesDft: <span class="hljs-built_in">number</span>;
</code></pre>
<h2 id="category-actionbehavior">Category: Action/Behavior</h2>
<h3 id="setenabledbehavior">SetEnabledBehavior</h3>
<p>&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;&#x4E00;&#x4E2A;&#x884C;&#x4E3A;&#x6811;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;

<span class="hljs-comment">/**
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; TRUE &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> rhs: BooleanType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9009;&#x9879;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BooleanType {

    <span class="hljs-comment">/**
     * &#x6FC0;&#x6D3B;&#x884C;&#x4E3A;&#x6811;
     */</span>
    TRUE,

    <span class="hljs-comment">/**
     * &#x7981;&#x7528;&#x884C;&#x4E3A;&#x6811;
     */</span>
    FALSE,

    <span class="hljs-comment">/**
     * &#x5207;&#x6362;&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;
     */</span>
    TOGGLE
};
</code></pre>
<h3 id="setpausedbehavior">SetPausedBehavior</h3>
<p>&#x6682;&#x505C;&#x6216;&#x6062;&#x590D;&#x4E00;&#x4E2A;&#x884C;&#x4E3A;&#x6811;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;

<span class="hljs-comment">/**
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; TRUE &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> rhs: BooleanType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9009;&#x9879;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BooleanType {

    <span class="hljs-comment">/**
     * &#x6682;&#x505C;&#x884C;&#x4E3A;&#x6811;
     */</span>
    TRUE,

    <span class="hljs-comment">/**
     * &#x6062;&#x590D;&#x884C;&#x4E3A;&#x6811;
     */</span>
    FALSE,

    <span class="hljs-comment">/**
     * &#x5207;&#x6362;&#x6682;&#x505C;&#x6216;&#x6062;&#x590D;
     */</span>
    TOGGLE
};
</code></pre>
<h3 id="restartbehavior">RestartBehavior</h3>
<p>&#x91CD;&#x542F;&#x4E00;&#x4E2A;&#x884C;&#x4E3A;&#x6811;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x8981;&#x6267;&#x884C;&#x7684;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;
</code></pre>
<h3 id="terminatebehavior">TerminateBehavior</h3>
<p>&#x7EC8;&#x6B62;&#x6267;&#x884C;&#x4E00;&#x4E2A;&#x884C;&#x4E3A;&#x6811;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x8981;&#x7EC8;&#x6B62;&#x7684;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;
</code></pre>
<h3 id="tickbehavior">TickBehavior</h3>
<p>&#x6267;&#x884C; <code>1</code> &#x5E27;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#xFF0C;&#x5E76;&#x8FD4;&#x56DE;&#x5176;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x3002;</p>
<p>&#x5F53;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x7684;&#x6267;&#x884C;&#x7B56;&#x7565; <code>tickType</code> &#x662F;&#x624B;&#x52A8;&#x6267;&#x884C; <code>MANUAL</code> &#x65F6;&#xFF0C;&#x751F;&#x6548;&#x3002;</p>
<p>&#x53EF;&#x5C06;&#x8BE5;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x4F5C;&#x4E3A;&#x4E00;&#x4E2A;&#x5B50;&#x6811;&#x770B;&#x5F85;&#xFF1A;</p>
<p><strong>1)</strong> &#x5F53;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x88AB;&#x89C6;&#x4E3A;&#x4E00;&#x4E2A;&#x5B50;&#x6811;&#x65F6;&#xFF0C;&#x5176;&#x751F;&#x547D;&#x5468;&#x671F;&#x53D7; <code>TickBehavior</code> &#x4EFB;&#x52A1;&#x7684;&#x751F;&#x547D;&#x5468;&#x671F;&#x5F71;&#x54CD;&#x3002; <code>TickBehavior</code> &#x7684;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x4EE3;&#x8868;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x7684;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x3002;</p>
<p>&#x4E3E;&#x4E2A;&#x4F8B;&#x5B50;&#xFF0C;</p>
<p>&#x5F53; <code>TickBehavior</code> &#x7684;&#x6267;&#x884C;&#x7ED3;&#x679C;&#x4E3A; <code>RUNNING</code> &#x65F6;&#xFF0C;&#x8BF4;&#x660E;&#x76EE;&#x6807;&#x884C;&#x4E3A;&#x6811;&#x5904;&#x4E8E;&#x8FD0;&#x884C;&#x72B6;&#x6001;&#x3002;</p>
<p>&#x6B64;&#x65F6;&#x5982;&#x679C;&#x4E2D;&#x65AD; <code>TickBehavior</code> &#x4EFB;&#x52A1;&#xFF0C;&#x76EE;&#x6807;&#x884C;&#x4E3A;&#x6811;&#x4E5F;&#x4F1A;&#x8DDF;&#x7740;&#x88AB;&#x6253;&#x65AD;&#x3002;</p>
<p><strong>2)</strong> &#x5F53;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x4E0D;&#x4F5C;&#x4E3A;&#x4E00;&#x4E2A;&#x5B50;&#x6811;&#x770B;&#x5F85;&#x65F6;&#xFF0C; <code>TickBehavior</code> &#x4F1A;&#x7ACB;&#x5373;&#x8FD4;&#x56DE;&#x6210;&#x529F;&#x6216;&#x5931;&#x8D25;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#xFF0C;&#x4E14;&#x6392;&#x9664;&#x81EA;&#x5DF1;&#x3002;
 * &#x8981;&#x6267;&#x884C;&#x7684;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;

<span class="hljs-comment">/**
 * &#x662F;&#x5426;&#x5C06;&#x5916;&#x90E8;&#x884C;&#x4E3A;&#x6811;&#x89C6;&#x4E3A;&#x5B50;&#x6811;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; true &#x3002;
 */</span>
<span class="hljs-keyword">public</span> asSubTree: <span class="hljs-built_in">boolean</span>;
</code></pre>
<h2 id="category-actionscene">Category: Action/Scene</h2>
<h3 id="loadscene">LoadScene</h3>
<p>&#x52A0;&#x8F7D;&#x573A;&#x666F;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x8981;&#x52A0;&#x8F7D;&#x7684;&#x573A;&#x666F;&#x540D;&#x5B57;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sceneName: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="setactive">SetActive</h3>
<p>&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;&#x8282;&#x70B9;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E00;&#x4E2A; cc.Node &#x8282;&#x70B9;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sharedNode: SharedCCNode;

<span class="hljs-comment">/**
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; TRUE &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> rhs: BooleanType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9009;&#x9879;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BooleanType {

    <span class="hljs-comment">/**
     * &#x6FC0;&#x6D3B;&#x8282;&#x70B9;
     */</span>
    TRUE,

    <span class="hljs-comment">/**
     * &#x7981;&#x7528;&#x8282;&#x70B9;
     */</span>
    FALSE,

    <span class="hljs-comment">/**
     * &#x5207;&#x6362;&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;
     */</span>
    TOGGLE
};
</code></pre>
<h3 id="setenabled">SetEnabled</h3>
<p>&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;&#x7EC4;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E00;&#x4E2A; cc.Component &#x8282;&#x70B9;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sharedComp: SharedCCComponent;

<span class="hljs-comment">/**
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; TRUE &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> rhs: BooleanType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9009;&#x9879;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BooleanType {

    <span class="hljs-comment">/**
     * &#x6FC0;&#x6D3B;&#x7EC4;&#x4EF6;
     */</span>
    TRUE,

    <span class="hljs-comment">/**
     * &#x7981;&#x7528;&#x7EC4;&#x4EF6;
     */</span>
    FALSE,

    <span class="hljs-comment">/**
     * &#x5207;&#x6362;&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;
     */</span>
    TOGGLE
};
</code></pre>
<h2 id="category-actiongame">Category: Action/Game</h2>
<h3 id="pausegame">PauseGame</h3>
<p>&#x8C03;&#x7528; <code>cc.director.pause()</code> &#x6682;&#x505C;&#x6E38;&#x620F;&#x573A;&#x666F;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">// nothing</span>
</code></pre>
<h3 id="resumegame">ResumeGame</h3>
<p>&#x8C03;&#x7528; <code>cc.director.resume()</code> &#x6682;&#x505C;&#x6E38;&#x620F;&#x573A;&#x666F;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">// nothing</span>
</code></pre>
<h2 id="category-actioncollision">Category: Action/Collision</h2>
<h3 id="setenabledcollider">SetEnabledCollider</h3>
<p>&#x7EE7;&#x627F;&#x81EA; <code>SetEnabled</code> &#x3002;</p>
<p>&#x6FC0;&#x6D3B;&#x6216;&#x7981;&#x7528;&#x78B0;&#x649E;&#x7EC4;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E00;&#x4E2A; cc.Collider &#x7EC4;&#x4EF6;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> sharedComp: SharedCCCollider;
</code></pre>
<h2 id="category-actiontrigger">Category: Action/Trigger</h2>
<h3 id="ctrlgate">CtrlGate</h3>
<p>&#x6B64;&#x4EFB;&#x52A1;&#x9700;&#x914D;&#x5408; <code>Gate</code> &#x4EFB;&#x52A1;&#x4F7F;&#x7528;&#x3002;</p>
<p>&#x63A7;&#x5236; <code>Gate</code> &#x4EFB;&#x52A1;&#x5F00;&#x5173;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5F00;&#x5173;&#x4EFB;&#x52A1;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: Gate;

<span class="hljs-comment">/**
 * &#x63A7;&#x5236;&#x5F00;&#x5173;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> ctrl: GateCtrlType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x63A7;&#x5236;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> GateCtrlType {

  <span class="hljs-comment">/**
   * &#x6253;&#x5F00;&#x3002;
   */</span>
  OPEN,

  <span class="hljs-comment">/**
   * &#x5173;&#x95ED;&#x3002;
   */</span>
  CLOSE,

  <span class="hljs-comment">/**
   * &#x5207;&#x6362;&#x5F00;&#x5173;&#x3002;
   */</span>
  TOGGLE
};
</code></pre>
<h3 id="requestinterrupt">RequestInterrupt</h3>
<p>&#x6B64;&#x4EFB;&#x52A1;&#x9700;&#x914D;&#x5408; <code>Interrupt</code> &#x4EFB;&#x52A1;&#x4F7F;&#x7528;&#x3002;</p>
<p>&#x8BF7;&#x6C42; <code>Interrupt</code> &#x4E2D;&#x65AD;&#x5B50;&#x4EFB;&#x52A1;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x4E2D;&#x65AD;&#x4EFB;&#x52A1;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: Interrupt;
</code></pre>
<h2 id="category-actionevent">Category: Action/Event</h2>
<h3 id="fireevent">FireEvent</h3>
<p>&#x9009;&#x53D6;&#x4E00;&#x4E2A;&#x4EFB;&#x52A1;&#xFF0C;&#x5411;&#x4ED6;&#x53D1;&#x5C04;&#x4E00;&#x4E2A;&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/*
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x4EFB;&#x52A1;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: ITask;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5192;&#x6CE1;&#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 1 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg1: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 2 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg2: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 3 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg3: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="fireevents">FireEvents</h3>
<p>&#x9009;&#x53D6;&#x591A;&#x4E2A;&#x4EFB;&#x52A1;&#xFF0C;&#x5411;&#x4ED6;&#x4EEC;&#x53D1;&#x5C04;&#x540C;&#x4E00;&#x4E2A;&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/*
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x4EFB;&#x52A1;&#x5217;&#x8868;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> targets: ITask[];

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5192;&#x6CE1;&#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 1 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg1: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 2 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg2: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 3 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg3: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="emitevent">EmitEvent</h3>
<p>&#x9009;&#x53D6;&#x4E00;&#x4E2A;&#x4EFB;&#x52A1;&#xFF0C;&#x5411;&#x4ED6;&#x53D1;&#x5C04;&#x4E00;&#x4E2A; <strong>&#x5411;&#x4E0A;&#x4F20;&#x9012;</strong> &#x7684;&#x5192;&#x6CE1;&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x4EFB;&#x52A1;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: ITask;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5192;&#x6CE1;&#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 1 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg1: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 2 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg2: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 3 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg3: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="broadcastevent">BroadcastEvent</h3>
<p>&#x9009;&#x53D6;&#x4E00;&#x4E2A;&#x5206;&#x652F;&#x4EFB;&#x52A1;&#xFF0C;&#x5411;&#x4ED6;&#x53D1;&#x5C04;&#x4E00;&#x4E2A; <strong>&#x5411;&#x4E0B;&#x4F20;&#x9012;</strong> &#x7684;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/*
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x4EFB;&#x52A1;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBranchTask;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 1 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg1: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 2 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg2: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 3 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg3: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="broadcasteventex">BroadcastEventEx</h3>
<p>&#x5411;&#x4E00;&#x4E2A;&#x884C;&#x4E3A;&#x6811;&#x5E7F;&#x64AD;&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/*
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x76EE;&#x6807;&#x884C;&#x4E3A;&#x6811;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> target: IBehaviorTree;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 1 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg1: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 2 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg2: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7B2C; 3 &#x4E2A;&#x53C2;&#x6570;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> arg3: <span class="hljs-built_in">string</span>;
</code></pre>
<h3 id="waitforevent">WaitForEvent</h3>
<p>&#x7B49;&#x5F85;&#x4E00;&#x4E2A;&#x4E8B;&#x4EF6;&#x3002;</p>
<p>&#x6536;&#x5230;&#x4E8B;&#x4EF6;&#x8FD4;&#x56DE;&#x6210;&#x529F;&#xFF0C;&#x5426;&#x5219;&#x4E00;&#x76F4;&#x8FD0;&#x884C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x4E8B;&#x4EF6;&#x7684;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x662F;&#x5426;&#x963B;&#x6B62;&#x4E8B;&#x4EF6;&#x7EE7;&#x7EED;&#x5728;&#x884C;&#x4E3A;&#x6811;&#x4E2D;&#x4F20;&#x9012;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; false &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> stopPropagation: <span class="hljs-built_in">boolean</span>;
</code></pre>
<h2 id="category-actionoperator">Category: Action/Operator</h2>
<h3 id="setnum">SetNum</h3>
<pre><code>lhs = rhs
lhs += rhs
lhs -= rhs
lhs *= rhs
lhs /= rhs
</code></pre><p>&#x8F93;&#x5165; <code>2</code> &#x4E2A;&#x6570;&#x5B57;&#xFF0C;&#x8BA1;&#x7B97;&#x7ED3;&#x679C;&#x8D4B;&#x7ED9;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> lhs: SharedNumber;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhs: SharedNumber;

<span class="hljs-comment">/**
 * &#x5F53;&#x5171;&#x4EAB;&#x53D8;&#x91CF; rhs &#x4E3A;&#x7A7A;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; rhsDft &#x4F5C;&#x4E3A;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * &#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; 0 &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhsDft: <span class="hljs-built_in">number</span>;

<span class="hljs-comment">/**
 * &#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> op: NumberComputeOperator;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> NumberComputeOperator {

    <span class="hljs-comment">/**
     * &#x8D4B;&#x503C;
     */</span>
    <span class="hljs-string">&apos;=&apos;</span>,

    <span class="hljs-comment">/**
     * &#x52A0;&#x6CD5;
     */</span>
    <span class="hljs-string">&apos;+=&apos;</span>,

    <span class="hljs-comment">/**
     * &#x51CF;&#x6CD5;
     */</span>
    <span class="hljs-string">&apos;-=&apos;</span>,

    <span class="hljs-comment">/**
     * &#x4E58;&#x6CD5;
     */</span>
    <span class="hljs-string">&apos;*=&apos;</span>,

    <span class="hljs-comment">/**
     * &#x9664;&#x6CD5;
     */</span>
    <span class="hljs-string">&apos;/=&apos;</span>
};
</code></pre>
<h3 id="setbool">SetBool</h3>
<pre><code>lhs = rhs
lhs = !rhs
</code></pre><p>&#x8F93;&#x5165; <code>2</code> &#x4E2A;&#x5E03;&#x5C14;&#x503C;&#xFF0C;&#x8BA1;&#x7B97;&#x7ED3;&#x679C;&#x8D4B;&#x7ED9;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> lhs: SharedBoolean;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhs: SharedBoolean;

<span class="hljs-comment">/**
 * &#x5F53;&#x5171;&#x4EAB;&#x53D8;&#x91CF; rhs &#x4E3A;&#x7A7A;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; rhsDft &#x4F5C;&#x4E3A;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;&#x6B64;&#x65F6;&#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#x65E0;&#x6548;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; TRUE &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhsDft: BooleanType;

<span class="hljs-comment">/**
 * &#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> op: BooleanComputeOperator;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BooleanComputeOperator {

    <span class="hljs-comment">/**
     * &#x8D4B;&#x503C;
     */</span>
    <span class="hljs-string">&apos;=&apos;</span>,

    <span class="hljs-comment">/**
     * &#x53D6;&#x53CD;
     */</span>
    <span class="hljs-string">&apos;!=&apos;</span>
};
</code></pre>
<h3 id="setstr">SetStr</h3>
<pre><code>lhs = rhs
</code></pre><p>&#x8F93;&#x5165; <code>2</code> &#x4E2A;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x8BA1;&#x7B97;&#x7ED3;&#x679C;&#x8D4B;&#x7ED9;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> lhs: SharedString;

<span class="hljs-comment">/**
 * &#x53EF;&#x9009;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x4E86;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhs: SharedString;

<span class="hljs-comment">/**
 * &#x5F53;&#x5171;&#x4EAB;&#x53D8;&#x91CF; rhs &#x4E3A;&#x7A7A;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; rhsDft &#x4F5C;&#x4E3A;&#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * &#x8868;&#x8FBE;&#x5F0F;&#x53F3;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; null &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
  */</span>
<span class="hljs-keyword">public</span> rhsDft: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> op: StringComputeOperator;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x8BA1;&#x7B97;&#x64CD;&#x4F5C;&#x7B26;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> StringComputeOperator {

    <span class="hljs-comment">/**
     * &#x590D;&#x5236;&#x5B57;&#x7B26;&#x4E32;
     */</span>
    <span class="hljs-string">&apos;=&apos;</span>
};
</code></pre>
<h2 id="category-actionmath">Category: Action/Math</h2>
<h3 id="genrandom">GenRandom</h3>
<p>&#x968F;&#x673A;&#x6570;&#x751F;&#x6210;&#x5668;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x8868;&#x8FBE;&#x5F0F;&#x5DE6;&#x8FB9;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> lhs: SharedNumber;

<span class="hljs-comment">/**
 * &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0B;&#x8FB9;&#x754C;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; 0 &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> min: <span class="hljs-built_in">number</span>;

<span class="hljs-comment">/**
 * &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0A;&#x8FB9;&#x754C;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; 1 &#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> max: <span class="hljs-built_in">number</span>;

<span class="hljs-comment">/**
 * &#x53D6;&#x6574;&#x3002;
 * &#x9ED8;&#x8BA4;&#x503C;&#x662F; - &#xFF0C;&#x4E0D;&#x8F6C;&#x6362;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> toInt: FloatToInt;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x53D6;&#x6574;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> FloatToInt {
    <span class="hljs-string">&apos;-&apos;</span>,
    floor,
    ceil,
    round
};
</code></pre>
<h2 id="category-actionblackboard">Category: Action/Blackboard</h2>
<h3 id="bbdelkey">BbDelKey</h3>
<p>&#x5220;&#x9664;&#x9ED1;&#x677F;&#x4E0A;&#x7684;&#x4E00;&#x4E2A;&#x952E;&#x3002;&#x4E0D;&#x7BA1;&#x9ED1;&#x677F;&#x4E0A;&#x662F;&#x5426;&#x5B58;&#x5728;&#x8BE5;&#x952E;&#x90FD;&#x8FD4;&#x56DE;&#x6210;&#x529F;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x9ED1;&#x677F;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: BlackboardType;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x8981;&#x5220;&#x9664;&#x7684;&#x9ED1;&#x677F;&#x952E;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> key: <span class="hljs-built_in">string</span>;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9ED1;&#x677F;&#x7C7B;&#x578B;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BlackboardType {

    <span class="hljs-comment">/**
     * &#x672C;&#x5730;&#x9ED1;&#x677F;&#x3002;
     */</span>
    LOCAL_BOARD,

    <span class="hljs-comment">/**
     * &#x5168;&#x5C40;&#x9ED1;&#x677F;&#x3002;
     */</span>
    GLOBAL_BOARD
};
</code></pre>
<h3 id="bbclear">BbClear</h3>
<p>&#x6E05;&#x9664;&#x9ED1;&#x677F;&#x4E0A;&#x6240;&#x6709;&#x952E;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x9ED1;&#x677F;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: BlackboardType;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9ED1;&#x677F;&#x7C7B;&#x578B;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BlackboardType {

    <span class="hljs-comment">/**
     * &#x672C;&#x5730;&#x9ED1;&#x677F;&#x3002;
     */</span>
    LOCAL_BOARD,

    <span class="hljs-comment">/**
     * &#x5168;&#x5C40;&#x9ED1;&#x677F;&#x3002;
     */</span>
    GLOBAL_BOARD
};
</code></pre>
<h3 id="bbwrite">BbWrite</h3>
<p>&#x5199;&#x5165;&#x9ED1;&#x677F;&#x503C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x9ED1;&#x677F;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: BlackboardType;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x9ED1;&#x677F;&#x952E;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> key: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x8981;&#x5199;&#x5165;&#x9ED1;&#x677F;&#x7684;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> rhs: SharedVariable;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9ED1;&#x677F;&#x7C7B;&#x578B;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BlackboardType {

    <span class="hljs-comment">/**
     * &#x672C;&#x5730;&#x9ED1;&#x677F;&#x3002;
     */</span>
    LOCAL_BOARD,

    <span class="hljs-comment">/**
     * &#x5168;&#x5C40;&#x9ED1;&#x677F;&#x3002;
     */</span>
    GLOBAL_BOARD
};
</code></pre>
<h3 id="bbread">BbRead</h3>
<p>&#x8BFB;&#x53D6;&#x9ED1;&#x677F;&#x503C;&#x3002;</p>
<pre><code class="lang-typescript"><span class="hljs-comment">/**
 * &#x9ED1;&#x677F;&#x7C7B;&#x578B;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> <span class="hljs-keyword">type</span>: BlackboardType;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x9ED1;&#x677F;&#x952E;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> key: <span class="hljs-built_in">string</span>;

<span class="hljs-comment">/**
 * &#x5FC5;&#x586B;&#x9879;&#x3002;
 * &#x5171;&#x4EAB;&#x53D8;&#x91CF;&#xFF0C;&#x50A8;&#x5B58;&#x8BFB;&#x53D6;&#x7684;&#x9ED1;&#x677F;&#x503C;&#x3002;
 * @btprop &#x5728; behavior-dog &#x5C5E;&#x6027;&#x68C0;&#x67E5;&#x5668;&#x4E0A;&#x53EF;&#x89C1;
 */</span>
<span class="hljs-keyword">public</span> lhs: SharedVariable;
</code></pre>
<p>&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x9ED1;&#x677F;&#x7C7B;&#x578B;&#xFF0C;</p>
<pre><code class="lang-typescript"><span class="hljs-keyword">enum</span> BlackboardType {

    <span class="hljs-comment">/**
     * &#x672C;&#x5730;&#x9ED1;&#x677F;&#x3002;
     */</span>
    LOCAL_BOARD,

    <span class="hljs-comment">/**
     * &#x5168;&#x5C40;&#x9ED1;&#x677F;&#x3002;
     */</span>
    GLOBAL_BOARD
};
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 内置">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="actiontask.html#category-action" class="navigation navigation-next " aria-label="Next page: Action">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"行动任务 ActionTask","level":"1.1.7.6.1","depth":4,"next":{"title":"Action","level":"1.1.7.6.1.1","depth":5,"anchor":"#category-action","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-action","articles":[{"title":"Idle","level":"1.1.7.6.1.1.1","depth":6,"anchor":"#idle","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#idle","articles":[]},{"title":"Wait","level":"1.1.7.6.1.1.2","depth":6,"anchor":"#wait","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#wait","articles":[]},{"title":"WaitFrames","level":"1.1.7.6.1.1.3","depth":6,"anchor":"#waitframes","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#waitframes","articles":[]}]},"previous":{"title":"内置","level":"1.1.7.6","depth":3,"path":"ccc/task/builtin/index.md","ref":"ccc/task/builtin/index.md","articles":[{"title":"行动任务 ActionTask","level":"1.1.7.6.1","depth":4,"path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md","articles":[{"title":"Action","level":"1.1.7.6.1.1","depth":5,"anchor":"#category-action","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-action","articles":[{"title":"Idle","level":"1.1.7.6.1.1.1","depth":6,"anchor":"#idle","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#idle","articles":[]},{"title":"Wait","level":"1.1.7.6.1.1.2","depth":6,"anchor":"#wait","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#wait","articles":[]},{"title":"WaitFrames","level":"1.1.7.6.1.1.3","depth":6,"anchor":"#waitframes","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#waitframes","articles":[]}]},{"title":"Action/Behavior","level":"1.1.7.6.1.2","depth":5,"anchor":"#category-actionbehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionbehavior","articles":[{"title":"SetEnabledBehavior","level":"1.1.7.6.1.2.1","depth":6,"anchor":"#setenabledbehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setenabledbehavior","articles":[]},{"title":"SetPausedBehavior","level":"1.1.7.6.1.2.2","depth":6,"anchor":"#setpausedbehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setpausedbehavior","articles":[]},{"title":"RestartBehavior","level":"1.1.7.6.1.2.3","depth":6,"anchor":"#restartbehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#restartbehavior","articles":[]},{"title":"TerminateBehavior","level":"1.1.7.6.1.2.4","depth":6,"anchor":"#terminatebehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#terminatebehavior","articles":[]},{"title":"TickBehavior","level":"1.1.7.6.1.2.5","depth":6,"anchor":"#tickbehavior","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#tickbehavior","articles":[]}]},{"title":"Action/Scene","level":"1.1.7.6.1.3","depth":5,"anchor":"#category-actionscene","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionscene","articles":[{"title":"LoadScene","level":"1.1.7.6.1.3.1","depth":6,"anchor":"#loadscene","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#loadscene","articles":[]},{"title":"SetActive","level":"1.1.7.6.1.3.2","depth":6,"anchor":"#setactive","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setactive","articles":[]},{"title":"SetEnabled","level":"1.1.7.6.1.3.3","depth":6,"anchor":"#setenabled","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setenabled","articles":[]}]},{"title":"Action/Game","level":"1.1.7.6.1.4","depth":5,"anchor":"#category-actiongame","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actiongame","articles":[{"title":"PauseGame","level":"1.1.7.6.1.4.1","depth":6,"anchor":"#pausegame","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#pausegame","articles":[]},{"title":"ResumeGame","level":"1.1.7.6.1.4.2","depth":6,"anchor":"#resumegame","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#resumegame","articles":[]}]},{"title":"Action/Collision","level":"1.1.7.6.1.5","depth":5,"anchor":"#category-actioncollision","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actioncollision","articles":[{"title":"SetEnabledCollider","level":"1.1.7.6.1.5.1","depth":6,"anchor":"#setenabledcollider","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setenabledcollider","articles":[]}]},{"title":"Action/Trigger","level":"1.1.7.6.1.6","depth":5,"anchor":"#category-actiontrigger","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actiontrigger","articles":[{"title":"CtrlGate","level":"1.1.7.6.1.6.1","depth":6,"anchor":"#ctrlgate","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#ctrlgate","articles":[]},{"title":"RequestInterrupt","level":"1.1.7.6.1.6.2","depth":6,"anchor":"#requestinterrupt","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#requestinterrupt","articles":[]}]},{"title":"Action/Event","level":"1.1.7.6.1.7","depth":5,"anchor":"#category-actionevent","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionevent","articles":[{"title":"FireEvent","level":"1.1.7.6.1.7.1","depth":6,"anchor":"#fireevent","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#fireevent","articles":[]},{"title":"FireEvents","level":"1.1.7.6.1.7.2","depth":6,"anchor":"#fireevents","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#fireevents","articles":[]},{"title":"EmitEvent","level":"1.1.7.6.1.7.3","depth":6,"anchor":"#emitevent","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#emitevent","articles":[]},{"title":"BroadcastEvent","level":"1.1.7.6.1.7.4","depth":6,"anchor":"#broadcastevent","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#broadcastevent","articles":[]},{"title":"BroadcastEventEx","level":"1.1.7.6.1.7.5","depth":6,"anchor":"#broadcasteventex","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#broadcasteventex","articles":[]},{"title":"WaitForEvent","level":"1.1.7.6.1.7.6","depth":6,"anchor":"#waitforevent","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#waitforevent","articles":[]}]},{"title":"Action/Operator","level":"1.1.7.6.1.8","depth":5,"anchor":"#category-actionoperator","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionoperator","articles":[{"title":"SetNum","level":"1.1.7.6.1.8.1","depth":6,"anchor":"#setnum","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setnum","articles":[]},{"title":"SetBool","level":"1.1.7.6.1.8.2","depth":6,"anchor":"#setbool","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setbool","articles":[]},{"title":"SetStr","level":"1.1.7.6.1.8.3","depth":6,"anchor":"#setstr","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#setstr","articles":[]}]},{"title":"Action/Math","level":"1.1.7.6.1.9","depth":5,"anchor":"#category-actionmath","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionmath","articles":[{"title":"GenRandom","level":"1.1.7.6.1.9.1","depth":6,"anchor":"#genrandom","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#genrandom","articles":[]}]},{"title":"Action/Blackboard","level":"1.1.7.6.1.10","depth":5,"anchor":"#category-actionblackboard","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#category-actionblackboard","articles":[{"title":"BbDelKey","level":"1.1.7.6.1.10.1","depth":6,"anchor":"#bbdelkey","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#bbdelkey","articles":[]},{"title":"BbClear","level":"1.1.7.6.1.10.2","depth":6,"anchor":"#bbclear","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#bbclear","articles":[]},{"title":"BbWrite","level":"1.1.7.6.1.10.3","depth":6,"anchor":"#bbwrite","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#bbwrite","articles":[]},{"title":"BbRead","level":"1.1.7.6.1.10.4","depth":6,"anchor":"#bbread","path":"ccc/task/builtin/actiontask.md","ref":"ccc/task/builtin/actiontask.md#bbread","articles":[]}]}]},{"title":"条件任务 ConditionTask","level":"1.1.7.6.2","depth":4,"path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md","articles":[{"title":"Condition/Behavior","level":"1.1.7.6.2.1","depth":5,"anchor":"#category-conditionbehavior","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionbehavior","articles":[{"title":"IsBehaviorRunning","level":"1.1.7.6.2.1.1","depth":6,"anchor":"#isbehaviorrunning","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#isbehaviorrunning","articles":[]}]},{"title":"Condition/Event","level":"1.1.7.6.2.2","depth":5,"anchor":"#category-conditionevent","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionevent","articles":[{"title":"OnEvent","level":"1.1.7.6.2.2.1","depth":6,"anchor":"#onevent","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#onevent","articles":[]}]},{"title":"Condition/System","level":"1.1.7.6.2.3","depth":5,"anchor":"#category-conditionsystem","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionsystem","articles":[{"title":"IsKeyDown","level":"1.1.7.6.2.3.1","depth":6,"anchor":"#iskeydown","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#iskeydown","articles":[]}]},{"title":"Condition/UI","level":"1.1.7.6.2.4","depth":5,"anchor":"#category-conditionui","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionui","articles":[{"title":"OnCCEvent","level":"1.1.7.6.2.4.1","depth":6,"anchor":"#onccevent","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#onccevent","articles":[]},{"title":"OnClick","level":"1.1.7.6.2.4.2","depth":6,"anchor":"#onclick","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#onclick","articles":[]},{"title":"OnToggle","level":"1.1.7.6.2.4.3","depth":6,"anchor":"#ontoggle","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#ontoggle","articles":[]},{"title":"OnCheck","level":"1.1.7.6.2.4.4","depth":6,"anchor":"#oncheck","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#oncheck","articles":[]},{"title":"OnUnCheck","level":"1.1.7.6.2.4.5","depth":6,"anchor":"#onuncheck","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#onuncheck","articles":[]},{"title":"IsChecked","level":"1.1.7.6.2.4.6","depth":6,"anchor":"#ischecked","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#ischecked","articles":[]}]},{"title":"Condition/Collision","level":"1.1.7.6.2.5","depth":5,"anchor":"#category-conditioncollision","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditioncollision","articles":[{"title":"OnCollisionEnter","level":"1.1.7.6.2.5.1","depth":6,"anchor":"#oncollisionenter","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#oncollisionenter","articles":[]},{"title":"OnCollisionStay","level":"1.1.7.6.2.5.2","depth":6,"anchor":"#oncollisionstay","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#oncollisionstay","articles":[]},{"title":"OnCollisionExit","level":"1.1.7.6.2.5.3","depth":6,"anchor":"#oncollisionexit","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#oncollisionexit","articles":[]}]},{"title":"Condition/Operator","level":"1.1.7.6.2.6","depth":5,"anchor":"#category-conditionoperator","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionoperator","articles":[{"title":"CmpNum","level":"1.1.7.6.2.6.1","depth":6,"anchor":"#cmpnum","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#cmpnum","articles":[]},{"title":"CmpBool","level":"1.1.7.6.2.6.2","depth":6,"anchor":"#cmpbool","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#cmpbool","articles":[]},{"title":"CmpStr","level":"1.1.7.6.2.6.3","depth":6,"anchor":"#cmpstr","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#cmpstr","articles":[]}]},{"title":"Condition/Blackboard","level":"1.1.7.6.2.7","depth":5,"anchor":"#category-conditionblackboard","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#category-conditionblackboard","articles":[{"title":"BbHasKey","level":"1.1.7.6.2.7.1","depth":6,"anchor":"#bbhaskey","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#bbhaskey","articles":[]},{"title":"BbCmpNum","level":"1.1.7.6.2.7.2","depth":6,"anchor":"#bbcmpnum","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#bbcmpnum","articles":[]},{"title":"BbCmpBool","level":"1.1.7.6.2.7.3","depth":6,"anchor":"#bbcmpbool","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#bbcmpbool","articles":[]},{"title":"BbCmpStr","level":"1.1.7.6.2.7.4","depth":6,"anchor":"#bbcmpstr","path":"ccc/task/builtin/conditiontask.md","ref":"ccc/task/builtin/conditiontask.md#bbcmpstr","articles":[]}]}]},{"title":"组合任务 CompositeTask","level":"1.1.7.6.3","depth":4,"path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md","articles":[{"title":"Composite","level":"1.1.7.6.3.1","depth":5,"anchor":"#category-composite","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#category-composite","articles":[{"title":"Sequence","level":"1.1.7.6.3.1.1","depth":6,"anchor":"#sequence","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#sequence","articles":[]},{"title":"SequenceTicker","level":"1.1.7.6.3.1.2","depth":6,"anchor":"#sequenceticker","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#sequenceticker","articles":[]},{"title":"Selector","level":"1.1.7.6.3.1.3","depth":6,"anchor":"#selector","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#selector","articles":[]},{"title":"RevalCompositeTask","level":"1.1.7.6.3.1.4","depth":6,"anchor":"#revalcompositetask","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#revalcompositetask","articles":[]},{"title":"RevalSequence","level":"1.1.7.6.3.1.5","depth":6,"anchor":"#revalsequence","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#revalsequence","articles":[]},{"title":"RevalSelector","level":"1.1.7.6.3.1.6","depth":6,"anchor":"#revalselector","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#revalselector","articles":[]},{"title":"RandomCompositeTask","level":"1.1.7.6.3.1.7","depth":6,"anchor":"#randomcompositetask","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#randomcompositetask","articles":[]},{"title":"RandomSequence","level":"1.1.7.6.3.1.8","depth":6,"anchor":"#randomsequence","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#randomsequence","articles":[]},{"title":"RandomSelector","level":"1.1.7.6.3.1.9","depth":6,"anchor":"#randomselector","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#randomselector","articles":[]},{"title":"RandomTicker","level":"1.1.7.6.3.1.10","depth":6,"anchor":"#randomticker","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#randomticker","articles":[]},{"title":"PriorityCompositeTask","level":"1.1.7.6.3.1.11","depth":6,"anchor":"#prioritycompositetask","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#prioritycompositetask","articles":[]},{"title":"PriorityTicker","level":"1.1.7.6.3.1.12","depth":6,"anchor":"#priorityticker","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#priorityticker","articles":[]},{"title":"ParallelCompositeTask","level":"1.1.7.6.3.1.13","depth":6,"anchor":"#parallelcompositetask","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#parallelcompositetask","articles":[]},{"title":"Parallel","level":"1.1.7.6.3.1.14","depth":6,"anchor":"#parallel","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#parallel","articles":[]},{"title":"ParallelSelector","level":"1.1.7.6.3.1.15","depth":6,"anchor":"#parallelselector","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#parallelselector","articles":[]},{"title":"ParallelComplete","level":"1.1.7.6.3.1.16","depth":6,"anchor":"#parallelcomplete","path":"ccc/task/builtin/compositetask.md","ref":"ccc/task/builtin/compositetask.md#parallelcomplete","articles":[]}]}]},{"title":"装饰任务 DecoratorTask","level":"1.1.7.6.4","depth":4,"path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md","articles":[{"title":"Decorator","level":"1.1.7.6.4.1","depth":5,"anchor":"#category-decorator","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#category-decorator","articles":[{"title":"AlwaysSuccess","level":"1.1.7.6.4.1.1","depth":6,"anchor":"#alwayssuccess","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#alwayssuccess","articles":[]},{"title":"AlwaysFailure","level":"1.1.7.6.4.1.2","depth":6,"anchor":"#alwaysfailure","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#alwaysfailure","articles":[]},{"title":"AlwaysRunning","level":"1.1.7.6.4.1.3","depth":6,"anchor":"#alwaysrunning","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#alwaysrunning","articles":[]},{"title":"UntilSuccess","level":"1.1.7.6.4.1.4","depth":6,"anchor":"#untilsuccess","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#untilsuccess","articles":[]},{"title":"UntilFailure","level":"1.1.7.6.4.1.5","depth":6,"anchor":"#untilfailure","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#untilfailure","articles":[]},{"title":"FailureUntilSuccess","level":"1.1.7.6.4.1.6","depth":6,"anchor":"#failureuntilsuccess","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#failureuntilsuccess","articles":[]},{"title":"SuccessUntilFailure","level":"1.1.7.6.4.1.7","depth":6,"anchor":"#successuntilfailure","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#successuntilfailure","articles":[]},{"title":"Inverter","level":"1.1.7.6.4.1.8","depth":6,"anchor":"#inverter","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#inverter","articles":[]},{"title":"Repeater","level":"1.1.7.6.4.1.9","depth":6,"anchor":"#repeater","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#repeater","articles":[]},{"title":"FrameRepeater","level":"1.1.7.6.4.1.10","depth":6,"anchor":"#framerepeater","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#framerepeater","articles":[]},{"title":"Period","level":"1.1.7.6.4.1.11","depth":6,"anchor":"#period","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#period","articles":[]},{"title":"WithinFrames","level":"1.1.7.6.4.1.12","depth":6,"anchor":"#withinframes","path":"ccc/task/builtin/decoratortask.md","ref":"ccc/task/builtin/decoratortask.md#withinframes","articles":[]}]}]},{"title":"拦截任务 IntercepterTask","level":"1.1.7.6.5","depth":4,"path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md","articles":[{"title":"Intercepter","level":"1.1.7.6.5.1","depth":5,"anchor":"#category-intercepter","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#category-intercepter","articles":[{"title":"PreCondition","level":"1.1.7.6.5.1.1","depth":6,"anchor":"#precondition","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#precondition","articles":[]},{"title":"PreConditions","level":"1.1.7.6.5.1.2","depth":6,"anchor":"#preconditions","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#preconditions","articles":[]},{"title":"Delay","level":"1.1.7.6.5.1.3","depth":6,"anchor":"#delay","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#delay","articles":[]},{"title":"Cooldown","level":"1.1.7.6.5.1.4","depth":6,"anchor":"#cooldown","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#cooldown","articles":[]},{"title":"AfterFrames","level":"1.1.7.6.5.1.5","depth":6,"anchor":"#afterframes","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#afterframes","articles":[]},{"title":"Gate","level":"1.1.7.6.5.1.6","depth":6,"anchor":"#gate","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#gate","articles":[]},{"title":"Interrupt","level":"1.1.7.6.5.1.7","depth":6,"anchor":"#interrupt","path":"ccc/task/builtin/interceptertask.md","ref":"ccc/task/builtin/interceptertask.md#interrupt","articles":[]}]}]}]},"dir":"ltr"},"config":{"plugins":["chapter-fold","splitter","flexible-alerts","back-to-top-button"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"chapter-fold":{},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"flexible-alerts":{"danger":{"className":"danger","icon":"fa fa-ban","label":"Attention"},"note":{"className":"info","icon":"fa fa-info-circle","label":"Note"},"style":"callout","tip":{"className":"tip","icon":"fa fa-lightbulb-o","label":"Tip"},"warning":{"className":"warning","icon":"fa fa-exclamation-triangle","label":"Warning"}},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"Zemin Liu","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"behavior-dog","language":"zh-hans","gitbook":"3.2.3","description":"CocosCreator 行为树编辑器"},"file":{"path":"ccc/task/builtin/actiontask.md","mtime":"2020-09-22T08:33:44.491Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-27T16:25:54.619Z"},"basePath":"../../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../../gitbook/gitbook.js"></script>
    <script src="../../../gitbook/theme.js"></script>
    
        
        <script src="../../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-flexible-alerts/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

